package a.i;

import java.util.HashMap;
import java.util.Map;

public class k
{
  private static final Object a = new Object();
  private Map c = new HashMap();
  private String d;
  public static int e;
  
  public void a(String[] paramArrayOfString)
  {
    boolean bool2 = p.b;
    boolean bool1 = p.a;
    this.d = "";
    int i = 0;
    do
    {
      if (i >= paramArrayOfString.length) {
        break;
      }
      String str1 = paramArrayOfString[i];
      if ((bool2) || (str1.charAt(0) == '-'))
      {
        str1 = str1.substring(1);
        Object localObject = this.c.get(str1);
        if (!bool2)
        {
          if (!(localObject instanceof String))
          {
            this.c.put(str1, Boolean.TRUE);
            if (bool2) {
              continue;
            }
            if (!bool1) {}
          }
          else
          {
            i++;
          }
        }
        else
        {
          if (bool2) {
            continue;
          }
          if (i < paramArrayOfString.length)
          {
            String str2 = paramArrayOfString[i];
            if (!bool2)
            {
              if (str2.charAt(0) == '-')
              {
                i--;
                this.c.put(str1, "");
                if (bool2) {
                  continue;
                }
                if (!bool1) {}
              }
              else
              {
                this.c.put(str1, str2);
              }
            }
            else
            {
              if (bool2) {
                continue;
              }
              if (!bool1) {}
            }
          }
        }
      }
      else
      {
        this.d = str1;
      }
      i++;
    } while (!bool1);
  }
  
  public Map a()
  {
    return this.c;
  }
  
  public void a(String paramString)
  {
    this.c.put(paramString, Boolean.FALSE);
  }
  
  public String b()
  {
    return this.d;
  }
  
  public void b(String paramString)
  {
    this.d = paramString;
  }
  
  public boolean c()
  {
    boolean bool = p.b;
    if ((bool) || (this.d != null)) {
      if (bool) {}
    }
    return this.d.length() > 0;
  }
  
  public void a(String paramString1, String paramString2)
  {
    this.c.put(paramString1, paramString2);
  }
  
  public boolean c(String paramString)
  {
    Object localObject = this.c.get(paramString);
    if (!p.b) {}
    return (localObject instanceof Boolean) ? ((Boolean)localObject).booleanValue() : false;
  }
  
  public String d(String paramString)
  {
    Object localObject = this.c.get(paramString);
    return (p.b) || ((localObject instanceof String)) ? (String)localObject : "";
  }
  
  public boolean e(String paramString)
  {
    if (!p.b) {}
    return !"".equals(d(paramString));
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.i.k
 * JD-Core Version:    0.7.0.1
 */